package day7;

public class CarTest {
    public static void main(String[] args) {
        DaZ daZ = new DaZ("黑色", "京B-88888888", "大众辉腾");
        WuL wuL = new WuL("白色", "皖A-88888888", "五菱荣光");
        BenC benC = new BenC("紫色", "浙B-88888888", "奔驰大G");
        Car car=new Car();
        TestingCenter testingCenter = new TestingCenter("123456789", "上海");
        daZ.information();
        car.start();
        car.accelerate();
        car.brake();
        testingCenter.test(daZ);
        wuL.information();
        car.start();
        car.accelerate();
        car.brake();
        testingCenter.test(wuL);
        benC.information();
        car.start();
        car.accelerate();
        car.brake();
        testingCenter.test(benC);
    }
}